package com.mhc.suzuki.service;

import com.mhc.haval.security.model.User;
import com.mhc.suzuki.bo.AuditProgressBO;
import com.mhc.suzuki.bo.AuditTaskBO;
import com.mhc.suzuki.exception.SuzukiCommonException;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Churry on 2017/9/14.
 */
@Service
public interface AuditTaskService {

  /**
   * 获取我的审核待办列表
   *
   * @param staffId
   * @param queryMap
   * @return
   */
  List<AuditTaskBO> getAuditTaskList(Long staffId, Map queryMap) throws SuzukiCommonException;

  /**
   * 获取订单审核进度
   *
   * @param orderNo
   * @return
   */
  List<AuditProgressBO> getAuditStatusList(User logedUser, String orderNo) throws SuzukiCommonException;


  /**
   * 获取GPS确认列表
   * @param queryMap
   * @return
   * @throws SuzukiCommonException
   */
  public List<AuditTaskBO> getGPSTaskList(Map queryMap) throws SuzukiCommonException;

}
